package cn.lwj.webService.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_xf_tb_error" )
public class TxfTbError implements Serializable {

    private String cId;
    private String cJzbId;
    private String cIpdz;
    private String cType;
    private String lLog;
    private String cRequestxml;
    private String cResponsexml;
    private String cWebserviceError;
    private Date dtSysTime;

    public TxfTbError() {
    }

    public TxfTbError(String cId, String cIpdz, String cType, String lLog) {
        this.cId = cId;
        this.cType = cType;
        this.lLog = lLog;
        this.cIpdz = cIpdz;
        this.dtSysTime = new Date();
    }

    public TxfTbError(String cId, String cIpdz, String lLog, String cRequestxml, String cResponsexml) {
        this.cId = cId;
        this.lLog = lLog;
        this.cIpdz = cIpdz;
        this.cRequestxml = cRequestxml;
        this.cResponsexml = cResponsexml;
        this.dtSysTime = new Date();
    }

    public TxfTbError(String cId, String cIpdz, String lLog, String cRequestxml, String cResponsexml, String cWebserviceError) {
        this.cId = cId;
        this.lLog = lLog;
        this.cIpdz = cIpdz;
        this.cRequestxml = cRequestxml;
        this.cResponsexml = cResponsexml;
        this.cWebserviceError = cWebserviceError;
        this.dtSysTime = new Date();
    }

    public TxfTbError(String cId, String cJzbId, String cType, String lLog, String cIpdz, String cRequestxml, String cResponsexml, String cWebserviceError, Date dtSysTime) {
        this.cId = cId;
        this.cJzbId = cJzbId;
        this.cType = cType;
        this.lLog = lLog;
        this.cIpdz = cIpdz;
        this.cRequestxml = cRequestxml;
        this.cResponsexml = cResponsexml;
        this.cWebserviceError = cWebserviceError;
        this.dtSysTime = dtSysTime;
    }

    @Id
    @Column(name = "C_ID")
    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    @Column(name = "C_IPDZ")
    public String getcIpdz() {
        return cIpdz;
    }

    public void setcIpdz(String cIpdz) {
        this.cIpdz = cIpdz;
    }

    @Column(name = "C_JZB_ID")
    public String getcJzbId() {
        return cJzbId;
    }

    public void setcJzbId(String cJzbId) {
        this.cJzbId = cJzbId;
    }

    @Column(name = "C_TYPE")
    public String getcType() {
        return cType;
    }

    public void setcType(String cType) {
        this.cType = cType;
    }

    @Column(name = "L_LOG")
    public String getlLog() {
        return lLog;
    }

    public void setlLog(String lLog) {
        this.lLog = lLog;
    }

    @Column(name = "C_REQUESTXML")
    public String getcRequestxml() {
        return cRequestxml;
    }

    public void setcRequestxml(String cRequestxml) {
        this.cRequestxml = cRequestxml;
    }

    @Column(name = "C_RESPONSEXML")
    public String getcResponsexml() {
        return cResponsexml;
    }

    public void setcResponsexml(String cResponsexml) {
        this.cResponsexml = cResponsexml;
    }

    @Column(name = "C_WEBSERVICE_ERROR")
    public String getcWebserviceError() {
        return cWebserviceError;
    }

    public void setcWebserviceError(String cWebserviceError) {
        this.cWebserviceError = cWebserviceError;
    }

    @Column(name = "DT_SYS_TIME")
    public Date getDtSysTime() {
        return dtSysTime;
    }

    public void setDtSysTime(Date dtSysTime) {
        this.dtSysTime = dtSysTime;
    }



}
